{% extends extend_template %}
{%block center%}
<div class="edit_form">
    <h2>Edit transsys program</h2>
    <form action="codeTranssys" method="post" class="edit">
        {% csrf_token %}
        <fieldset><legend></legend>
            <label>Transsys code:</label>
            <span class="helptext">transsys code defined of the transsys program.</span>
            <textarea id="transsys_code" name="transsys_code">{{transsys_code}}</textarea>
            {% comment %} Trick with_sgx parameter {% endcomment %}

            {% if extend_template == "simgenex/base_simgenex.html" %}
            <input type="hidden" name="with_sgx" value="1"/>
            {% endif %}
        </fieldset>
        <button type="submit" name="submit" > Submit</button>

    </form>

</div>
{% endblock %}